package com.doge.service.admin.promotion;

import com.doge.bean.base.BaseData;
import com.doge.bean.base.BaseParam;
import com.doge.bean.pojo.coupon.Coupon;
import com.doge.bean.vo.coupon.CouponGoodsVO;

/**
 * promotion是推广模块
 * CouponService是优惠券管理
 * Created By ntian
 */
public interface CouponService {
    BaseData listCoupon(BaseParam baseParam, String name, Short status, Short type);

    Coupon listReadCoupon(Integer id);

    BaseData listUserCoupons(BaseParam baseParam, Integer couponId, Integer userId, Short status);

    int createCoupon(CouponGoodsVO coupon);

    int deleteCoupon(Coupon coupon);

    int updateCoupon(CouponGoodsVO couponGoodsVO);
}